//
//  CommonChoseTypeRoleView.h
//  DouLinBusiness
//
//  Created by ypj on 2021/4/13.
//

#import <UIKit/UIKit.h>
#import "ChoseTableViewCell.h"
#import "JueSeModel.h"
//#import "BankModel.h"
//#import "CategoryModel.h"
NS_ASSUME_NONNULL_BEGIN

@interface CommonChoseTypeRoleView : UIView<UITableViewDelegate,UITableViewDataSource>
@property (weak, nonatomic) IBOutlet UIView *bgView;
@property (weak, nonatomic) IBOutlet UITableView *tableView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *tableRight;
@property(nonatomic,strong)NSMutableArray *dataSource;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *tableLeft;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *bgTopHeight;
@property(nonatomic,strong)NSString  *selectTitle;
@property(nonatomic,strong)NSString  *titleString;
@property (weak, nonatomic) IBOutlet UIView *blackView;
@property(nonatomic,strong)NSString  *typeValue;//1:模型 2:字符串
@property(nonatomic ,strong)void(^ToSendStringValue)(NSString * selectString);//选择后的传值
@property(nonatomic ,strong)void(^ToSendValue)(JueSeModel * model);//选择后的传值
//@property(nonatomic ,strong)void(^ToSendCatrgoryValue)(CategoryModel * model);//选择后的传值
-(void)DataSourceToShowAlert:(NSMutableArray *)dataSource withSelectTitle:(NSString *)titleString withType:(NSString *)type withTitle:(NSString *)alertTitle;
+ (instancetype)shareInstance;
@end

NS_ASSUME_NONNULL_END
